Carbon


MPCreateCriticalRegion

Header: Multiprocessing.h Carbon status: Supported

Creates a critical region object.

OSStatus MPCreateCriticalRegion (
    MPCriticalRegionID *criticalRegion
);
Parameter descriptions
criticalRegion

On return, the criticalRegion contains the ID of the newly created critical region object.

function result

A result code.

DISCUSSION

Also see the function MPDeleteCriticalRegion.

VERSION NOTES

Introduced with Multiprocessing Services 1.0.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)